import { MockMethod } from 'vite-plugin-mock';
import Mock from 'mockjs'
export default [
    {
        url: '/api/login',
        method: 'post',
        response: ({ query }) => {
            return {
                status: 200,
                data: {
                    name: '@name',
                    city: '@city',
                }
            }
        }
    }
] as MockMethod[]